home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000286_fdc@columbia.edu_Fri May 7 10:37:56 2004.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!not-for-mail
  2. From: Frank da Cruz <fdc@columbia.edu>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Forcing binary mode transfer
  5. Date: 7 May 2004 14:37:48 GMT
  6. Organization: Columbia University
  7. Lines: 40
  8. Message-ID: <slrnc9n7ps.rrg.fdc@sesame.cc.columbia.edu>
  9. References: <6bd7331b.0405070413.749e75d1@posting.google.com>
  10. Reply-To: fdc@columbia.edu
  11. NNTP-Posting-Host: sesame.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1083940668 14413 128.59.59.56 (7 May 2004 14:37:48 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 7 May 2004 14:37:48 GMT
  15. User-Agent: slrn/0.9.8.0 (SunOS)
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15006
  17.  
  18. On 2004-05-07, A. Lewenberg <adam@macrotex.net> wrote:
  19. : I am having trouble getting Kermit to transfer some files in binary
  20. : mode. Here is the setup:
  21. :
  22. : I am transfering some EPS (Encapsulated PostScript) files FROM my home
  23. : Windows 2000 machine TO a Solaris 5.8 machine. The Windows machine is
  24. : running Kermit 95 2.1.3 while the Solaris machine is running C-Kermit
  25. : 8.0.209.
  26. :
  27. : I first connect to the Solaris machine using the ssh feature of Kermit
  28. : 95. I start Kermit on the Solaris machine with the command "kermit
  29. : -ix" and escape back to the Kermit 95 prompt and type at the prompt
  30. : "SET FILE TYPE BINARY". I then type "send test.eps" and the file
  31. : "successfully" transfers but the transfer window always indicates
  32. : "File Type: TEXT (ascii => ascii)". I do not have a .kermrc in my home
  33. : directory on the Solaris side.
  34. :
  35. This is explained here:
  36.  
  37.   http://www.columbia.edu/kermit/ckermit80.html#x4
  38.  
  39. See especially the SET FILE SCAN command description.  Briefly, the problem
  40. is that the EPS file is a text file in its first 48K, which is all that
  41. Kermit's file scanner looks at by default.  After that, the file contains
  42. a binary portion.
  43.  
  44. > What do I have to do do force Kermit to send a file in binary mode?
  45. Lots of choices:
  46.  
  47.  1. SEND /BINARY <filename> (force binary mode for this file)
  48.  2. SET FILE SCAN ON -1     (force full file scan)
  49.  3. SET TRANSFER MODE MANUAL, SET FILE TYPE BINARY, SEND <filename>
  50.  4. SET FILE SCAN OFF, SET FILE TYPE BINARY, SEND <filename>
  51.  
  52. If you include a /TEXT or /BINARY switch with a SEND command, this
  53. overrides all other settings and forces the indicated transfer mode.
  54. 2-4 are explained in the above Web reference.
  55.  
  56. - Frank